import {Modal} from 'antd'

const {confirm} =Modal
export default (title, onOk) => {
  confirm({
    title: title||'确定要删除吗？',
    onOk
  })
}
